﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace W.Warehouse.Domain.DTO
{
    public class AllocationProductRuAWarehouseDTO
    {
        /// <summary>
        /// 产品id
        /// </summary>
        [Key]
        public int ProductId { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 厂家编码
        /// </summary>
        public string? ManuNo { get; set; }
        /// <summary>
        /// 内部编码
        /// </summary>
        public string? InsideNo { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitId { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public int? ProductTypeId { get; set; }
        /// <summary>
        /// 上线值
        /// </summary>
        public int? GoOnline { get; set; }
        /// <summary>
        /// 下限值
        /// </summary>
        public int? Online { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? ProductPrice { get; set; }
        /// <summary>
        /// 默认仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 默认库位
        /// </summary>
        public int? BinLocationId { get; set; }
        /// <summary>
        /// 默认供应商
        /// </summary>
        public string? VendorId { get; set; }
        /// <summary>
        /// 默认客户
        /// </summary>
        public string? ClientId { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? ProductDesc { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public string? ProductWrap { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public string? ProductWeight { get; set; }

        /// <summary>
        /// 入库产品信息id
        /// </summary>
        public int StorageProductsId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 调拨批次
        /// </summary>
        public string? ProductBatch { get; set; }
        /// <summary>
        /// 盘点批次
        /// </summary>
        public string? StatisticsBatch { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 入库数
        /// </summary>
        public int? StorageNum { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? TotalPrice { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string? BinLocationName { get; set; }
        /// <summary>
        /// 入库id
        /// </summary>
        public int? StorageId { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? Quantity { get; set; }
    }
}
